<template>
    <el-tag
        :type="data.options.type"
        :hit="data.options.hit"
        :color="data.options.tagColor"
        :size="data.options.size"
        :style="{
            'margin-left': data.options.marginLeft,
            'margin-right': data.options.marginRight,
            'margin-top': data.options.marginTop,
            'margin-bottom': data.options.marginBottom
        }"
        v-html="data.options.defaultCName"/>
</template>
<script>
export default {
    name: 'BaseTag',
    props: {
        data: {
            type: Object
        }
    }
}
</script>
